package com.ben.multiple.aop.rest;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author BenJin Yin
 * @date 2020/8/26
 */
@RestController
@RequestMapping("/two")
@AllArgsConstructor
@Slf4j
public class TwoRest {

    @GetMapping("/a")
    public void a() {
        log.info("TwoRest  a");
    }

}
